<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>总经理</title>
    <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,maximum-scale=1.0,user-scalable=no;">
    <link rel="stylesheet" type="text/css" href="view/iwocar5/css/main.css?v=1" />
	<script src="view/iwocar5/js/jquery-1.11.1.min.js"></script>
	<script src="js/jquery-1.11.1.min.js"></script>
	<script>
	$(function(){
		$("#market").click(function(){
			location.href="4S_MarketDirector.php?address=<?php echo $address?>";
		})
		$("#service").click(function(){
			location.href="4S_ServiceDirector.php?address=<?php echo $address?>";
		})		
		$("#sale").click(function(){
			location.href="4S_SaleDirector.php?address=<?php echo $address?>";
		})			
	})
	</script>
</head>
<body>
    <!--<div class="header">
        <h5>总经理<i class="arrow_l1"></i><em class="arrow_l2"></em></h5>
    </div>-->
    <div class="home-data">
        <h5>
        	<?php 
				echo $address;
			?>
		</h5>
			<ul>
				<li>
					<p>当前在店总人数：<span id="l2">
						<?php 
							echo $allnow;
						?>
					</span>人</p>
					<p>当天累计总人数：<span id="l3">
						<?php 
							echo $allday;
						?>
					</span>人</p>
				</li>
				<li>					
					<p>销售接待区：<span id="l4">
						<?php 
							echo $sale;
						?>
					</span>人</p>
					<p>售后维修区：<span id="aftersale">
						<?php 
							echo $service;
						?>
					</span>人</p>
				</li>
				<li>
					<p>首次进店：<span id="first">
						<?php 
							echo $first;
						?>
					</span>人</p>
					<p>二次及以上进店：<span id="secand">
						<?php 
							echo $second;
						?>
					</span>人</p>
				</li>
				<li>
					<p>WIFI登录：<span id="l6">
						<?php 
							echo $login;
						?>
					</span>人</p>
					<p>WIFI未登录：<span id="l7">
						<?php 
							echo $nolog;
						?>
					</span>人</p>
				</li>
			</ul>
			<h6>历史累计进店总人数：<span id="l8">
				<?php 
					echo $history;
				?>
			</span>人</h6>
    </div>
	    <ul class="home-list">
	        <li id="market">
		            <h4><img src="view/iwocar5/images/market.png" alt="" /></h4>
		            <p>
		            	市场数据分析
		            	<!-- 4S_MarketDirector.php?address=北京博瑞祥星汽车销售有限公司&id=1 -->
		        	</p>
	        </li>
	        <li id="service">
		            <h4><img src="view/iwocar5/images/sell.png" alt="" /></h4>
		            	<p>
		            		售后服务数据分析
			        	</p>
	        </li>
	        <li id="sale">
	            <img src="view/iwocar5/images/afterSale.png" alt=""/>
	            <span>销售数据分析</span>
	        </li>
	    </ul>
	

</body>
</html>
